package com.doubleview.commons;

import cn.hutool.core.util.StrUtil;
import org.junit.Test;

import java.util.stream.IntStream;

public class RangeTest {

    private static final String RANGE_STR = "alter table subsidy_bill_others_{} add payment_pic varchar(128) null comment '粤焕新-新家电购买支付凭证，文件对应的blobstore key', add actv_id varchar(128) null comment '粤焕新-活动id', add verification_area_code varchar(64) null comment '粤焕新-核销地区编码';";

    @Test
    public void rangePrint() {
        IntStream.range(0, 1000)
                .forEach(value -> System.out.println(StrUtil.format(RANGE_STR, value)));
    }
}